package com.huanwei.cc.utils;

import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.huanwei.cc.base.MyApplication;
import com.huanwei.cc.R;


public final class UILUtils {


    public static void displayImage( String imgurl,
                                    ImageView imageView) {
        Glide.with(MyApplication.getInstance())
                .load(imgurl)
                .placeholder(R.drawable.im_jz)
                .error(R.drawable.im_jz)
                .diskCacheStrategy(DiskCacheStrategy.ALL)
                .into( imageView);
    }










}
